#if !defined(AFX_XSPHONEACTIVEXDLGTIMEOUT_H__946FC361_4818_4207_849B_535D5EC6CBF3__INCLUDED_)
#define AFX_XSPHONEACTIVEXDLGTIMEOUT_H__946FC361_4818_4207_849B_535D5EC6CBF3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ResourceBundle.h"
#include "Digistatic.h"

// XSPhoneActiveXDlgTimeout.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CXSPhoneActiveXDlgTimeout dialog

class CXSPhoneActiveXDlgTimeout : public CDialog
{
// Construction
public:
	CXSPhoneActiveXDlgTimeout(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CXSPhoneActiveXDlgTimeout)
	enum { IDD = IDD_TIMEOUT };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	CResourceBundle m_myResourceBundle;
	
	CTime m_hStatusExpiredTime;
	CDigiStatic	m_ctlTimeBoard;
	
	BOOL m_bStartCalculateTime;
	UINT m_nIgnoreTimes;
	
	void ResetTimer(UINT nSecondsLater);
	void StopTimer();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CXSPhoneActiveXDlgTimeout)
protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CXSPhoneActiveXDlgTimeout)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButtonIgnore();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnDestroy();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_XSPHONEACTIVEXDLGTIMEOUT_H__946FC361_4818_4207_849B_535D5EC6CBF3__INCLUDED_)
